package com.ruoyi.jxxwx.service;

import com.ruoyi.jxxwx.domain.JxxPatrol;

import java.util.List;

/**
 * 巡查记录Service接口
 * 
 * @author wh
 * @date 2025-04-10
 */
public interface IJxxPatrolService 
{
    /**
     * 查询巡查记录
     * 
     * @param patrolId 巡查记录主键
     * @return 巡查记录
     */
    public JxxPatrol selectJxxPatrolByPatrolId(Long patrolId);

    /**
     * 查询巡查记录列表
     * 
     * @param jxxPatrol 巡查记录
     * @return 巡查记录集合
     */
    public List<JxxPatrol> selectJxxPatrolList(JxxPatrol jxxPatrol);

    /**
     * 新增巡查记录
     * 
     * @param jxxPatrol 巡查记录
     * @return 结果
     */
    public int insertJxxPatrol(JxxPatrol jxxPatrol);

    /**
     * 修改巡查记录
     * 
     * @param jxxPatrol 巡查记录
     * @return 结果
     */
    public int updateJxxPatrol(JxxPatrol jxxPatrol);

    /**
     * 批量删除巡查记录
     * 
     * @param patrolIds 需要删除的巡查记录主键集合
     * @return 结果
     */
    public int deleteJxxPatrolByPatrolIds(Long[] patrolIds);

    /**
     * 删除巡查记录信息
     * 
     * @param patrolId 巡查记录主键
     * @return 结果
     */
    public int deleteJxxPatrolByPatrolId(Long patrolId);
}
